Optimal. Leaf size=127 \[ \frac {x^4 \left (a+b x^2\right )}{4 b \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {a x^2 \left (a+b x^2\right )}{2 b^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {a^2 \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 b^3 \sqrt {a^2+2 a b x^2+b^2 x^4}} \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1111, 646, 43} \begin {gather*} \frac {x^4 \left (a+b x^2\right )}{4 b \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {a x^2 \left (a+b x^2\right )}{2 b^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {a^2 \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 b^3 \sqrt {a^2+2 a b x^2+b^2 x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 646
Rule 1111
Rubi steps
\begin {align*} \int \frac {x^5}{\sqrt {a^2+2 a b x^2+b^2 x^4}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {a^2+2 a b x+b^2 x^2}} \, dx,x,x^2\right )\\ &=\frac {\left (a b+b^2 x^2\right ) \operatorname {Subst}\left (\int \frac {x^2}{a b+b^2 x} \, dx,x,x^2\right )}{2 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=\frac {\left (a b+b^2 x^2\right ) \operatorname {Subst}\left (\int \left (-\frac {a}{b^3}+\frac {x}{b^2}+\frac {a^2}{b^3 (a+b x)}\right ) \, dx,x,x^2\right )}{2 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=-\frac {a x^2 \left (a+b x^2\right )}{2 b^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {x^4 \left (a+b x^2\right )}{4 b \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {a^2 \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 b^3 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 55, normalized size = 0.43 \begin {gather*} \frac {\left (a+b x^2\right ) \left (2 a^2 \log \left (a+b x^2\right )+b x^2 \left (b x^2-2 a\right )\right )}{4 b^3 \sqrt {\left (a+b x^2\right )^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.29, size = 182, normalized size = 1.43 \begin {gather*} -\frac {a^2 \left (\sqrt {b^2}+b\right ) \log \left (\sqrt {a^2+2 a b x^2+b^2 x^4}-a-\sqrt {b^2} x^2\right )}{4 b^4}-\frac {a^2 \left (\sqrt {b^2}-b\right ) \log \left (\sqrt {a^2+2 a b x^2+b^2 x^4}+a-\sqrt {b^2} x^2\right )}{4 b^4}+\frac {\left (b x^2-3 a\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}{8 b^3}+\frac {2 a x^2-b x^4}{8 b \sqrt {b^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 33, normalized size = 0.26 \begin {gather*} \frac {b^{2} x^{4} - 2 \, a b x^{2} + 2 \, a^{2} \log \left (b x^{2} + a\right )}{4 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 59, normalized size = 0.46 \begin {gather*} \frac {a^{2} \log \left ({\left | b x^{2} + a \right |}\right ) \mathrm {sgn}\left (b x^{2} + a\right )}{2 \, b^{3}} + \frac {b x^{4} \mathrm {sgn}\left (b x^{2} + a\right ) - 2 \, a x^{2} \mathrm {sgn}\left (b x^{2} + a\right )}{4 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 52, normalized size = 0.41 \begin {gather*} \frac {\left (b \,x^{2}+a \right ) \left (b^{2} x^{4}-2 a b \,x^{2}+2 a^{2} \ln \left (b \,x^{2}+a \right )\right )}{4 \sqrt {\left (b \,x^{2}+a \right )^{2}}\, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.39, size = 34, normalized size = 0.27 \begin {gather*} \frac {a^{2} \log \left (b x^{2} + a\right )}{2 \, b^{3}} + \frac {b x^{4} - 2 \, a x^{2}}{4 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^5}{\sqrt {{\left (b\,x^2+a\right )}^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.20, size = 32, normalized size = 0.25 \begin {gather*} \frac {a^{2} \log {\left (a + b x^{2} \right )}}{2 b^{3}} - \frac {a x^{2}}{2 b^{2}} + \frac {x^{4}}{4 b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________